/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.salesReceipts.GetSyncSdSaleHInData;

public class SyncUtil {
    public static HttpJson selectBaseInfo() {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/auth/sync/selectBaseInfo", "");
    }

    public static HttpJson selectProductInfo() {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/sync/selectProductInfo", "");
    }

    public static HttpJson selectStoreInfo() {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/sync/selectStoreInfo", "");
    }

    public static HttpJson selectSaleInfo() {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/sync/selectSaleInfo", "");
    }

    public static HttpJson uploadSaleInfo(GetSyncSdSaleHInData param) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/sync/uploadSaleInfo", JSON.toJSONString(param));
    }
}

